package com.general.template.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * @Author: 杰哥
 * Date: 2021/2/16 15:35
 * @Description:
 **/
@Data
public class UserVo {
    /**
     * 唯一主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 岗位id
     */
    @TableField(value = "jobs_id")
    private Integer jobsId;

    /**
     * 用户姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 用户手机号码
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 用户旧密码
     */
    @TableField(value = "password")
    private String oldPassword;

    /**
     * 用户新密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 用户头像路径
     */
    @TableField(value = "header_url")
    private String headerUrl;

}
